package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "industry")
public class Industry {
    /**
     * id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 行业名称
     */
    @TableField(value = "title")
    private String title;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 添加时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "industryList",exist = false)
    private List<Industry> industryList;

    @TableField(value = "positionTypeList",exist = false)
    private List<PositionType> positionTypeList;

    @TableField(value = "positionList",exist = false)
    private List<Position> positionList;
    /**
     * 操作人
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 用户
     */
    @TableField(value = "admin",exist = false)
    private Admin admin;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_TITLE = "title";

    public static final String COL_SORT = "sort";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_ENABLE = "enable";
}